from fastapi import FastAPI
from app.api import api_router

app = FastAPI(
    title="Campus Management System",
    description="A simple campus management system API with student and teacher modules",
    version="1.0.0"
)

app.include_router(api_router, prefix="/api/v1")

@app.get("/")
async def root():
    return {"message": "Welcome to Campus Management System API"}